Skip to content

Conversation

maxkorp
Copy link
Contributor

@maxkorp maxkorp commented Jul 30, 2025

This just clones examples/pydantic_ai_examples/ag_ui from https://github.com/pydantic/pydantic-ai and makes it runnable without a local dependency on the Pydantic repo.

dependencies = [
"fastapi>=0.104.0",
"uvicorn[standard]>=0.24.0",
"pydantic-ai>=0.1.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think pydantic-ai-slim[openai,ag-ui] should be sufficient

@maxkorp maxkorp force-pushed the max/pydantic-example branch from 06467b5 to eb4c702 Compare July 31, 2025 00:44
@maxkorp maxkorp force-pushed the max/pydantic-example branch from eb4c702 to 38e90fc Compare July 31, 2025 00:44
@maxkorp maxkorp merged commit 5390b98 into main Aug 1, 2025
4 checks passed
@maxkorp maxkorp deleted the max/pydantic-example branch August 1, 2025 17:00
mattsp1290 pushed a commit to mattsp1290/ag-ui that referenced this pull request Sep 8, 2025
ag-ui-protocol#236)

* copy example from pydantic repo

* Make work without local pydantic repo

* Clean up feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants